import { h } from 'vue';
import { NTag } from 'naive-ui';

export const columns = [
  {
    title: '学号',
    key: 'SID',
    width: 100,
  },
  {
    title: '名字',
    key: 'name',
    width: 100,
  },
  {
    title: '性别',
    key: 'sex',
    width: 100,
    render(row) {
        return row.sex == 0 ? '男' : '女'
      },
  },
  {
    title: '班级',
    key: 'claseName',
    width: 150,
  },
  {
    title: '专业',
    key: 'majorName',
    width: 160,
  },
  {
    title: '学院',
    key: 'academyName',
    width: 160,
  }
];
